package com.wx.entity;

import com.wx.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>Title:      SysSubscribeUser. </p>
 * <p>Description 关注的用户信息表 </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company:    医百科技有限公司 </p>
 *
 * @author         yangwensheng@100doc.com.cn
 * @since      2021-03-03 11:36:07
 */
@Table(name = "sys_subscribe_user")
@Data
@ApiModel(value = "SysSubscribeUser")
public class SysSubscribeUser extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	
	@Id
	@Column(name = "id")
	@ApiModelProperty(value = "")
	private String id;
	/**
	 * 小程序用户的openid
	 */
	@Column(name = "open_id")
	@ApiModelProperty(value = "小程序用户的openid")
	private String openId;
	/**
	 * 用户头像
	 */
	@Column(name = "nick_name")
	@ApiModelProperty(value = "用户头像")
	private String nickName;
	/**
	 * 用户头像
	 */
	@Column(name = "head_img_url")
	@ApiModelProperty(value = "用户头像")
	private String headImgUrl;
	/**
	 * 性别 0：未知、1：男、2：女
	 */
	@Column(name = "sex")
	@ApiModelProperty(value = "性别 0：未知、1：男、2：女")
	private Integer sex;
	/**
	 * 所在国家
	 */
	@Column(name = "country")
	@ApiModelProperty(value = "所在国家")
	private String country;
	/**
	 * 省份
	 */
	@Column(name = "province")
	@ApiModelProperty(value = "省份")
	private String province;
	/**
	 * 城市
	 */
	@Column(name = "city")
	@ApiModelProperty(value = "城市")
	private String city;
	/**
	 * 语种
	 */
	@Column(name = "language")
	@ApiModelProperty(value = "语种")
	private String language;
	/**
	 * 手机号码
	 */
	@Column(name = "mobile")
	@ApiModelProperty(value = "手机号码")
	private String mobile;
	/**
	 * 创建时间
	 */
	@Column(name = "create_date")
	@ApiModelProperty(value = "创建时间")
	private Date createDate;
	/**
	 * 修改时间
	 */
	@Column(name = "update_date")
	@ApiModelProperty(value = "修改时间")
	private Date updateDate;
	/**
	 * 删除标识 1:删除 0:未删除
	 */
	@Column(name = "del_flag")
	@ApiModelProperty(value = "删除标识 1:删除 0:未删除")
	private String delFlag;
	/**
	 * 备注
	 */
	@Column(name = "remarks")
	@ApiModelProperty(value = "备注")
	private String remarks;

}
